home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_10.lha / 7_10 / qh_cons.c < prev    next >
Text File  |  1993-08-08  |  568b  |  16 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. include <process.h>
  6. include <debug.h>    /* DELETE */
  7. / construct a queue_head and a process_queue
  8. ueue_head::queue_head(qmodes mode, unsigned max)
  9.    : qh_mode(mode)
  10.  
  11.    if (debug) /*DELETE*/ cerr << "queue_head" << this << "::queue_head(" << qm_print(mode) << ", " << max << ")\n";
  12.    if (max != 0)
  13. qh_queue = new process_queue(max, this, 0);
  14.    if (debug) /*DELETE*/ cerr << "<<<< queue_head" << this << "::queue_head()\n";
  15.  
  16.